*******************************************************************************
*
* MASTER STATA CODE TO REPLICATE GALLUP GRAPH, 1997-2021 
* "GLOBAL WARMING ATTITUDES FROZEN SINCE 2016", APRIL 5, 2021
* https://news.gallup.com/poll/343025/global-warming-attitudes-frozen-2016.aspx
* GRAPH "VIEWS THAT EFFECTS OF GLOBAL WARMING HAVE ALREADY BEGUN"
*
* FOR PAPER: 
* Learning from Shared News: When Abundant Information Leads to Belief Polarization
* Bowen, Dmitriev, Galperti
* Quarterly Journal of Economics
*******************************************************************************

clear all
set more off

*******************************
* FILE PATHS
*******************************
glo dir "C:\Users\\`c(username)'\\Dropbox\Final_Final_Final"

glo code "${dir}\Gallup replication\Code"

glo data "${dir}\Gallup replication\Data"

glo output "${dir}\High-res simulations graphs"

*******************************
* RUN DO-FILES
*******************************
** 1) Clean 1997 Gallup Data 
do "${code}\3. gallup_rep_code_1997cleaning.do"

** 2) Replicate "Views that Effects of Global Warming Have Already Begun" Graph
do "${code}\4. gallup_rep_code_19972021.do"